Investigation of happiness from the religious, philosophical and psychological viewpoints